package com.inossem.warehousestorage_inossem.bean.inStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/7/12.
 */

public class InStorageReceiveConfirmRequestBean extends Bean {


    /**
     * inStorageNumber : RKD201707121234
     * voucherDate : 2017-07-17
     * postDate : 2017-07-17
     * operatorList : [{"id":"111"},{"id":"222"}]
     * materielList : [{"serial":"1","inventoryAddressCode":"11","inStorageNumber":"20","batchId":"1234567890","batchList":[{"id":"1","type":"0","value":"","text":"北京三里屯"},{"id":"2","type":"1","value":"","text":"2017-08-09"},{"id":"3","type":"2","value":"01","text":"北京三里屯"}]}]
     */

    private String inStorageNumber;
    private String voucherDate;
    private String postDate;
    private String isFocus;
    private List<OperatorListBean> operatorList;
    private List<MaterielListBean> materielList;

    public String getIsFocus() {
        return isFocus;
    }

    public void setIsFocus(String isFocus) {
        this.isFocus = isFocus;
    }

    public String getInStorageNumber() {
        return inStorageNumber;
    }

    public void setInStorageNumber(String inStorageNumber) {
        this.inStorageNumber = inStorageNumber;
    }

    public String getVoucherDate() {
        return voucherDate;
    }

    public void setVoucherDate(String voucherDate) {
        this.voucherDate = voucherDate;
    }

    public String getPostDate() {
        return postDate;
    }

    public void setPostDate(String postDate) {
        this.postDate = postDate;
    }

    public List<OperatorListBean> getOperatorList() {
        return operatorList;
    }

    public void setOperatorList(List<OperatorListBean> operatorList) {
        this.operatorList = operatorList;
    }

    public List<MaterielListBean> getMaterielList() {
        return materielList;
    }

    public void setMaterielList(List<MaterielListBean> materielList) {
        this.materielList = materielList;
    }

    public static class OperatorListBean {
        /**
         * id : 111
         */

        private String id;
        private String roleCode;

        public String getRoleCode() {
            return roleCode;
        }

        public void setRoleCode(String roleCode) {
            this.roleCode = roleCode;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }
    }

    public static class MaterielListBean {
        /**
         * serial : 1
         * inventoryAddressCode : 11
         * inStorageNumber : 20
         * batchId : 1234567890
         * batchList : [{"id":"1","type":"0","value":"","text":"北京三里屯"},{"id":"2","type":"1","value":"","text":"2017-08-09"},{"id":"3","type":"2","value":"01","text":"北京三里屯"}]
         */

        private String serial;
        private String factoryCode;
        private String inventoryAddressCode;
        private String inStorageNumber;
        private String batchId;
        private List<BatchListBean> batchList;

        public String getSerial() {
            return serial;
        }

        public void setSerial(String serial) {
            this.serial = serial;
        }

        public String getFactoryCode() {
            return factoryCode;
        }

        public void setFactoryCode(String factoryCode) {
            this.factoryCode = factoryCode;
        }

        public String getInventoryAddressCode() {
            return inventoryAddressCode;
        }

        public void setInventoryAddressCode(String inventoryAddressCode) {
            this.inventoryAddressCode = inventoryAddressCode;
        }

        public String getInStorageNumber() {
            return inStorageNumber;
        }

        public void setInStorageNumber(String inStorageNumber) {
            this.inStorageNumber = inStorageNumber;
        }

        public String getBatchId() {
            return batchId;
        }

        public void setBatchId(String batchId) {
            this.batchId = batchId;
        }

        public List<BatchListBean> getBatchList() {
            return batchList;
        }

        public void setBatchList(List<BatchListBean> batchList) {
            this.batchList = batchList;
        }

        public static class BatchListBean {
            /**
             * id : 1
             * type : 0
             * value :
             * text : 北京三里屯
             */

            private String id;
            private String type;
            private String value;
            private String text;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }
        }
    }
}
